import requests, json


def tl(q_text, user_id):
    req_json = {
        "key": "b8fefbfddb2a4c20be259a935f60b3a0",
        "info": q_text,
        "userid": user_id,
    }

    a = requests.post("http://www.tuling123.com/openapi/api", data=req_json)
    a_dict = json.loads(a.content)

    return a_dict.get("text")
